//
//  UIBarButtonItem+State.h
//  可拖拽的view
//
//  Created by LeungChaos on 16/4/19.
//  Copyright © 2016年 liang. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIBarButtonItem (State)

/// 直接创建 一个UIBarButtonItem
+ (instancetype)barButtonItemWithNormalImage:(UIImage *)image HighlightedImage:(UIImage *)highlightedImage target:(id)tg action:(SEL)action;

+ (instancetype)barButtonItemWithNormalImage:(UIImage *)image selectedImage:(UIImage *)selectedImage target:(id)tg action:(SEL)action;

+ (instancetype)barButtonItemWithTitle:(NSString *)title normalImage:(UIImage *)image HighlightedImage:(UIImage *)highlightedImage target:(id)tg action:(SEL)action;
@end
